package com.next

class TimingTask
{
    Component component

    String logging

    Integer start = 0

    String duration = 'Everyday'

    static constraints = {
        logging type: "text", nullable: true, blank: true
        duration inList: ['Everyday', 'Weekly', 'Monthly']
        duration nullable: true, blank: true
        start nullable: true, blank: true
    }

    static mapping = {
        // start column: 'timestart'
    }
}
